package com.atguigu.cloud.service;

import com.atguigu.cloud.entity.Storage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author fafa
* @description 针对表【t_storage】的数据库操作Service
* @createDate 2024-06-26 21:31:04
*/
public interface StorageService extends IService<Storage> {

    /**
     * 减少库存
     * @param productId
     * @param count
     */
    boolean decrease(Long productId, Integer count);
}
